﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="GreatB2C.Web.Manage.Login" %>

<!DOCTYPE html PUBLIC "-/W3C/DTD XHTML 1.0 Transitional/EN" "http:/www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http:/www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="copyright" content="<% Response.Write( GreatB2C.Config.SiteInfo.UIConfig.Copyright ); %>" />
    <meta name="keywords" content="<% Response.Write( GreatB2C.Config.SiteInfo.UIConfig.SiteMeta ); %>" />
    <meta name="description" content="<% Response.Write( GreatB2C.Config.SiteInfo.UIConfig.MetaDescription ); %>" />
    <title>
        <% Response.Write( GreatB2C.Config.SiteInfo.UIConfig.SiteName ); %>
    </title>
    <link rel="icon" href="../favicon.ico" type="image/x-icon" />
    <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
    <link href="../App_Themes/AdminDefaultTheme/index.css" type="text/css" rel="stylesheet" />

    <script src="../Resource/Script/reflection.js" type="text/javascript"></script>

    <style type="text/css">
        body
        {
            font-size: 14px;
        }
    </style>
</head>
<body style="background-color: #34495A;">
    <form id="form1" runat="server">
    <div class="loginbody" style="padding-top: 118px;">
        <div class="loginbg">
            <div style="padding-top: 70px;">
                <div style="width: 330px; float: left; text-align: center; border-right: #4e4e4e 1px solid;
                    height: 170px;">
                    <img src="/App_Themes/AdminDefaultTheme/Images/logo.png" class="reflect ropacity25" style="margin: 0 auto;
                        margin-top: 50px;" />
                    <br />
                    <div style="font-size: 12px; color: #4f6793; text-align: right; margin-right: 20px;
                        font-weight: bold;">
                        <% Response.Write( GreatB2C.Config.SiteInfo.UIConfig.SiteName ); %> V1.0</div>
                </div>
                <div style="float: left; margin-left: 20px;">
                    <table cellpadding="6" cellspacing="0" border="0">
                        <tr>
                            <td>
                                用户名：
                            </td>
                            <td>
                                <asp:TextBox ID="TxtName" runat="server" CssClass="username" onblur="if(this.value=='') this.value='请填写用户名';this.className='username';return true;"
                                    onfocus="if(this.value=='请填写用户名') this.value='';this.className='usernamefocus';return true;"
                                    Text="请填写用户名" MaxLength="50" name="TxtName" autocomplete="off"></asp:TextBox>&nbsp;
                                <asp:RequiredFieldValidator ID="f_UserNameX" runat="server" ControlToValidate="TxtName"
                                    ErrorMessage="请填写用户名"></asp:RequiredFieldValidator><script language="javascript"
                                        type="text/javascript">                                                                                           document.getElementById('TxtName').focus();</script>

                            </td>
                        </tr>
                        <tr>
                            <td>
                                密 码：
                            </td>
                            <td>
                                <asp:TextBox ID="TxtPassword" TextMode="Password" runat="server" CssClass="password"
                                    onblur="this.className='password';return true;" onfocus="this.className='passwordfocus';return true;"
                                    Text="" MaxLength="50" name="TxtPassword" autocomplete="off"></asp:TextBox>&nbsp;
                                <asp:RequiredFieldValidator ID="f_PasswordX" runat="server" ControlToValidate="TxtPassword"
                                    ErrorMessage="请填写密码"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr colspan="2" id="safeCodeVerify_1" runat="server" visible="false">
                            <td>
                                安全码：
                            </td>
                            <td>
                                <asp:TextBox ID="TxtSafeCode" runat="server" CssClass="safecode" onblur="if(this.value=='') this.value='请填写安全码';this.className='safecode';return true;"
                                    onfocus="if(this.value=='请填写安全码') this.value='';this.className='safecodefocus';return true;"
                                    Text="请填写安全码" MaxLength="50" name="TxtSafeCode" autocomplete="off"></asp:TextBox>
                                <asp:RequiredFieldValidator ID="f_safeCodeVerify" runat="server" ControlToValidate="TxtSafeCode"
                                    ErrorMessage="请填写安全码"></asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                效验码：
                            </td>
                            <td>
                                <asp:TextBox ID="TxtVerify" runat="server" CssClass="verify" onblur="if(this.value=='') this.value='请输入效验码';this.className='verify';return true;"
                                    onfocus="if(this.value=='请输入效验码') this.value='';this.className='verifyfocus';return true;"
                                    Text="请输入效验码" MaxLength="50" name="TxtSafeCode" autocomplete="off"></asp:TextBox>

                                <script type="text/javascript" language="JavaScript">
                                    var numkey = Math.random();
                                    numkey = Math.round(numkey * 10000);
                                    document.write("<img src=\"../Controls/ValidCode.aspx?k=" + numkey + "\" width=\"70\" onClick=\"this.src+=Math.random()\" alt=\"图片看不清？点击重新得到验证码\" style=\"cursor:pointer;\" height=\"23\" hspace=\"4\"");
                                </script>

                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                <asp:HiddenField ID="HidUrl" runat="server" />
                                &nbsp;<asp:ImageButton ID="ibtnLogin" runat="server" ImageUrl="../App_Themes/AdminDefaultTheme/Images/signin.gif"
                                    OnClick="login_Click" />&nbsp;&nbsp;&nbsp;&nbsp;
                                <label>
                                    <asp:ImageButton ID="ibtnReset" runat="server" ImageUrl="../App_Themes/AdminDefaultTheme/Images/reset.gif"
                                        OnClientClick="javascript:window.close();" /></label>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <div align="center" style="color: #fff;">
        <% Response.Write( GreatB2C.Config.SiteInfo.UIConfig.Copyright ); %>
    </div>
    </form>
</body>
</html>
